import BaseModel from "./BaseModel";

export default class ModuleModel extends BaseModel {
    constructor() {
        super();
        this.attributes = ['id', 'presenterId', 'layout', 'css', 'style', 'z-index', 'lazy-init', 'properties', 'events'];
        this.attributes.forEach(item => {
            this.attributeValues[item] = [];
        })
    }

    addProperty(property) {
        this.getAttribute('properties').push(property);
    }
}